#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QIcon>
#include <QDebug>
#include <QTimer>
#include <QWidget>
#include <QPixmap>
#include <QPainter>


#include "constant.h"
#include "select-level-scene.h"
#include "slide-button.h"
#include "start-game-scene.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QWidget
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);

    ~MainWindow();

private:
    Ui::MainWindow *ui;

    StartGameScene *start_game_scene;

    SelectLevelScene *select_level_scene;

private:
    void initUi();

    void initUiData();

    void initData();

    void initConnect();
};

#endif // MAINWINDOW_H
